package cn.edu.lingnan.lsqn.dao;

import java.util.List;

import cn.cdahua.basic.dao.IBaseDao;
import cn.cdahua.basic.model.Pager;
import cn.edu.lingnan.lsqn.model.Article;
import cn.edu.lingnan.lsqn.model.ArticleType;

public interface IArticleDao extends IBaseDao<Article> {
	public Pager<Article> findByUserId(int uid);

	public List<Article> listByUserId(int uid);

	public Pager<Article> find();

	public Pager<Article> findByStatus(ArticleType status);

	public Pager<Article> findByUserIdAndStatus(int uid, ArticleType status);
}
